import request from '@/utils/request'
const securityApi = {
  serverHostCondition: '/portalsystem/serverHost/condition',
  safeStrategyPage: '/portalsystem/safeStrategy/page'
}
export function serverHostCondition(parameter) {
  return request({
    url: securityApi.serverHostCondition,
    method: 'get',
    params: parameter
  })
}

/**
 * @param parameter
 * type	string	否	-	方向 OUT;IN
 * serverHostId	int	否	-	服务器id
 * pageNum	int	是	-	页码
 * pageSize	int	是	-	大小
 * @returns {*}
 */
export function safeStrategyPage(parameter) {
  return request({
    url: securityApi.safeStrategyPage,
    method: 'get',
    params: parameter
  })
}
